<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<head>
	<%@ include file="/common/taglibs.jsp"%>
	<title>出勤数据统计</title>
	<%@ include file="/common/meta.jsp"%>
	<link href="${ctx}/assets/css/bootstrap-tree.css" rel="stylesheet" type="text/css"/>
	<link href="${ctx}/assets/css/jsTree/style.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<!-- begin #page-container -->
	<div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
		<!-- #header -->
		<%@ include file="/common/header.jsp"%>
		<!-- #slider -->
		<%@ include file="/common/slider.jsp"%>

		<!-- begin #content -->
		<div id="content" class="content" style="padding-top:20px">
			<!-- begin row -->
			<div class="row">
				<!-- begin col-8 -->
				<div class="col-md-12">
					<div class="panel panel-inverse">
						<div class="panel-heading">
							<form class="form-horizontal" id="searchForm" name="searchForm">
								<div class="">
									<div class="row">
										<div class="col-md-4">
											<div class="m-t-40">
												<label class="col-md-4 control-label ui-sortable">日期：</label>
												<div class="col-md-8 ui-sortable">
													<input type="text" class="form-control" id="startTime" name="startTime" placeholder="请选择日期"/>
												</div>
											</div>
										</div>
										<div class="col-md-5">
											<label class="col-md-4 control-label ui-sortable m-t-40">选取人员：</label>
											<input type="text" class="hidden" name="userIds" id="userIds" value="''"></input>
											<textarea class="ol-md-9 overflow-y-scroll width-250 height-100" id="userNames" placeholder="请选择员工..."></textarea>
											<button id="selected" name="selected" class="btn btn-success btn-xs m-l-5 m-b-15" type="button" title="选取">选取</button>
										</div>
										<div class="col-md-2">
											<%-- <shiro:hasPermission name="dictionary:list:search"> --%>
												<button id="searchBtn" name="searchBtn" type="button" class="btn btn-success btn-sm m-r-5 m-b-5" title="<fmt:message key='public.button_search'/>">
												<fmt:message key="public.button_search"/></button>
											<%-- </shiro:hasPermission> --%>
										</div>
									</div>
								</div>	
							</form>
						</div>
						<div class="panel-body">
							<table id="travelStatisticsListTable" class="table table-striped table-bordered table-hover dataTable no-footer">
								<thead>
									<tr class="text-center f-w-700" style="color: #242a30;background-color: #d3e3fa;">
										<th rowspan="2" style="vertical-align:middle">姓名</th>
										<th rowspan="2" style="vertical-align:middle">工时类型</th>
										<th colspan="3">当月出勤工时数据（最小统计单位0.5H）</th>
										<th colspan="3">全年出勤工时数据（最小统计单位0.5H）</th>
										<th rowspan="2" style="vertical-align:middle">统计时间</th>
									</tr>
									<tr class="text-center f-w-700" style="color: #242a30;background-color: #d3e3fa;">
										<th>应出勤小时数</th>
										<th>实际出勤小时数</th>
										<th>±差异数</th>
										<th>应出勤小时数</th>
										<th>实际出勤小时数</th>
										<th>±差异数</th>
									</tr>
								</thead>
								<tbody>
								</tbody>
							</table>
						</div>
					</div>
				</div>
			</div>
			<!-- end row -->
		</div>
		<!-- end #content -->
	</div>
	<!-- end page container -->
	
	<%@ include file="/common/groupUser.jsp"%>
	<%@ include file="/common/footer.jsp"%>
	<!-- BEGIN PAGE LEVEL SCRIPTS -->
	<script src="${ctx}/assets/js/bootstrap-tree.js"></script>
	<script src="${ctx}/assets/js/jstree/dist/jstree.min.js"></script>
	<script src="${ctx}/assets/js/ui-tree.js"></script>
	<script src="${ctx}/assets/js/jquery.dataTables.js"></script>
	<script src="${ctx}/assets/js/DT_bootstrap.js"></script>
	<script src="${ctx}/assets/js/jquery.datetimepicker.js"></script>
	
	<script src="${ctx}/js/common/groupUsers.js?v=${ver}"></script>
	<script src="${ctx}/js/attendanceSelect/travelStatistics.js?v=${ver}"></script> 
	<!-- END PAGE LEVEL SCRIPTS -->
	<script type="text/javascript">
		jQuery(document).ready(function() { 
			GroupUsers.init();
			TravelStatistics.init();
		});
	</script>
</body>
</html>